import request from '@/api/request'
//轮播图列表
function getBannerList(kv){
  return request({
    url:'/api/leju/admin/home/banners',
    method:'GET',
    kv
  })
}
//轮播图添加
function AddBanner(kv){
  return request({
    url:'/api/leju/admin/home/bannerSave',
    method:'POST',
    kv
  })
}
//删除轮播图
function delBanner(kv){
  return request({
    url:'/api/leju/admin/home/bannerDelete',
    method:'GET',
    kv
  })
}

export default {
  getBannerList,
  AddBanner,
  delBanner
}
